package com.jjsc.carousel.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.jjsc.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("banner")
public class Banner extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long bannerId;

    /** 标题 */
    private String title;

    /** 图片URL */
    private String imageUrl;

    /** 跳转链接 */
    private String targetUrl;

    /** 排序 */
    private Integer sort = 0;

    /** 状态（0启用 1禁用） */
    private String status = "0";

    /** 删除标志 */
    @TableLogic
    private String delFlag = "0";
}